import { AppRouteRecordRaw } from '@/types/route'
import { shallowRef } from 'vue'
// import Layout from '@/layout/index.vue'

export let accountRouter: AppRouteRecordRaw = {
  path: '/account',
  name: 'account',
  component: () => import(/* webpackChunkName: "account" */ '@/layout/index.vue'),
  meta: {
    title: '账号信息',
    hideMenu: true
  },
  children: [
    {
      path: '/account/info',
      component: () => import(/* webpackChunkName: "account" */ '@/views/account/accountInfo.vue'),
      name: 'accountInfo',
      meta: { title: '账号信息' }
    }
  ]
}

export default accountRouter
